#pragma once


#include <iostream>
#include <fstream>
#include <sstream>
#include <string>

using namespace std;


#ifdef UNICODE

#define t( text )		L##text
#define tisalpha( c )	iswalpha( c )
#define tisdigit( c )	iswdigit( c )
typedef wchar_t tchar;
typedef wstring tstring;
typedef wistream tistream;
typedef wostream tostream;
typedef wfstream tfstream;
typedef wifstream tifstream;
typedef wofstream tofstream;
typedef wstringstream tstringstream;
//extern tostream & tcout = wcout;
//extern tistream & tcin = wcin;

#else

#define t( text ) text
#define tisalpha( c )	isalpha( c )
#define tisdigit( c )	isdigit( c )
typedef char tchar;
typedef string tstring;
typedef istream tistream;
typedef ostream tostream;
typedef fstream tfstream;
typedef ifstream tifstream;
typedef ofstream tofstream;
typedef stringstream tstringstream;
//extern tostream & tcout = cout;
//extern tistream & tcin = cin;

#endif